<?xml version='1.0' encoding='UTF-8' ?>
<!--
    Document   : welcomeICEfaces
    Created on : 27/03/2011, 10:37:20 PM
    Author     : James
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ice="http://www.icesoft.com/icefaces/component">
    <h:head>
        <title>ICEfaces 2</title>
         <h:outputScript name="jsf.js" library="javax.faces"/>
    </h:head>
    <h:body>
        <div id="header">
           <!--
           <ui:include src="/header.xhtml" >
	          <ui:param name="param_name" value="param_value" />
           </ui:include>
           -->
        </div>
         <div id="content">
             <ice:form id="iceForm">
                 <ice:panelGrid columns="3">
                    <ice:outputText id="TextUsuario" value="Usuario: "/>
                    <ice:inputText id="Usuario" value="#{login.usuario}" required="true">
                    </ice:inputText>
                    <ice:message id="ErrorUser" for="Usuario" style="color: #F00"/>
                    <ice:outputText value="Contraseña: "/>
                    <ice:inputSecret id="Pswd" value="#{login.psw}" required="true">
                    </ice:inputSecret>
                    <ice:message id="ErrorPswd" for="Pswd" style="color: #F00" />
                    <br></br>
                    <ice:commandButton id="BotonInicio" value="Iniciar" action="#{login.Resultado}" actionListener="#{login.AccionAceptar}">
                        <!-- panelConfirmation="ErrorLogin" immediate="true">-->
                    </ice:commandButton>
                    <ice:message id="ErrorInicio" for="BotonInicio" style="color: #F00"/>
                </ice:panelGrid>
             <!--
             drop ICEfaces components here
             -->
             </ice:form>
         </div>
    </h:body>
</html>